/*
 * Cartridge Support interface
 */

#include "cartridge.h"

char* pBurnCartridgeFileExtFilter = 0;
int (*pBurnInsertCartridgeCallBack)(const char *) = 0;

unsigned int BurnCartridgeGameLoaded = CARTRIDGE_NO_INIT;

int BurnCartridgeGameInit(char* pExtFilter, int (*pInsertCartridgeCallBack)(const char *))
{
	pBurnCartridgeFileExtFilter = pExtFilter;
	pBurnInsertCartridgeCallBack = pInsertCartridgeCallBack;

	// Driver setup BurnCartridgeGameLoaded

	return 0;
}

int BurnCartridgeGameExit()
{
	BurnCartridgeGameLoaded = CARTRIDGE_NO_INIT;
	pBurnCartridgeFileExtFilter = 0;
	pBurnInsertCartridgeCallBack = 0;
	return 0;
}
